function myplugin01(options) {
	console.log(options);
}

myplugin01.prototype.apply = function(compiler) {
  	compiler.hooks.run.tap('myplugin01', compilation => {
		console.log('webpack 构建过程开始！');
		console.log(compilation.assets);// undefined
	});
};

module.exports = myplugin01;